package com.zyz.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//用户
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("member")
public class User implements Serializable {


    //id
    private Integer id;
    //名字
    private String username;
    //密码
    private String password;
    //年龄
    private String age;
    //手机号
    private  String phone;
    //地区
    private String address;
    //状态
    private Integer type;
    private Integer isVip;
    //教练
    private Integer coach_id;
    //头像
    private String avater;
    @TableField(exist = false)
    private String coach_name ;
    @TableField(exist = false)
    private String lesson_name;
}
